export const DEFAULT_PAGE_SIZE = 10;
export const DEFAULT_RESPONE_SUCCESS = 200;

export const DEFAULT_INVALID_STATE = '0';
export const DEFAULT_VALID_STATE = '1';

export const CONST_MODE_CALENDAR = 'calendar';
export const CONST_MODE_LIST = 'list';

export const CONST_DATE_FORMAT = 'YYYY-MM-DD'

export const CONST_ROLE_CODE_ADMIN = 'role_admin';

export const CONST_PERMISSION_CODE_DUTY_NOTE_SHOW_ALL = 'dutyNotesmgr:showAll';

export const CONST_PERMISSION_CODE_UNIT_ADD = 'unitmgr:add';
export const CONST_PERMISSION_CODE_UNIT_UPD = 'unitmgr:modify';
export const CONST_PERMISSION_CODE_UNIT_STOP = 'unitmgr:delete';

export const CONST_PERMISSION_CODE_DEPARTMENT_ADD = 'deptmgr:add';
export const CONST_PERMISSION_CODE_DEPARTMENT_UPD = 'deptmgr:modify';
export const CONST_PERMISSION_CODE_DEPARTMENT_STOP = 'deptmgr:delete';

export const CONST_PERMISSION_CODE_STAFF_ADD = 'usrmgr:add';
export const CONST_PERMISSION_CODE_STAFF_UPD = 'usrmgr:modify';
export const CONST_PERMISSION_CODE_STAFF_STOP = 'usrmgr:forbidBatch';
export const CONST_PERMISSION_CODE_STAFF_DOWNLOAD = 'usrmgr:download';
export const CONST_PERMISSION_CODE_STAFF_UPLOAD = 'usrmgr:upload';

export const CONST_PERMISSION_CODE_SHIFTARRANGE_ADD = 'shiftarrange:add';
export const CONST_PERMISSION_CODE_SHIFTARRANGE_UPD = 'shiftarrange:modify';
export const CONST_PERMISSION_CODE_SHIFTARRANGE_DEL = 'shiftarrange:delete';
export const CONST_PERMISSION_CODE_SHIFTARRANGE_UPLOAD = 'shiftarrange:upload';

// 请求URL
export const DEFAULT_URL_AUTH = 'http://10.207.189.71:8080/visdata/rest/auth';
export const DEFAULT_URL_AREA = 'http://10.207.189.71:8080/visdata/rest/duty/area';
export const DEFAULT_URL_DEPARTMENT = 'http://10.207.189.71:8080/visdata/rest/duty/dept';
export const DEFAULT_URL_EVENT = 'http://10.207.189.71:8080/visdata/rest/duty/event';
export const DEFAULT_URL_EVENT_PROCESS = 'http://10.207.189.71:8080/visdata/rest/duty/eventProcess';
export const DEFAULT_URL_EVENT_PUSH = 'http://10.207.189.71:8080/visdata/rest/duty/eventPush';
export const DEFAULT_URL_RANK = 'http://10.207.189.71:8080/visdata/rest/duty/rank';
export const DEFAULT_URL_SEND_SMS = 'http://10.207.189.71:8080/visdata/rest/duty/send';
export const DEFAULT_URL_SHIFT = 'http://10.207.189.71:8080/visdata/rest/duty/shift';
export const DEFAULT_URL_SHIFT_ARRANGE = 'http://10.207.189.71:8080/visdata/rest/duty/shiftArrange';
export const DEFAULT_URL_STAFF = 'http://10.207.189.71:8080/visdata/rest/duty/duser'
export const DEFAULT_URL_SYSTEM_MANAGE = 'http://10.207.189.71:8080/visdata/rest/sysmanage';
export const DEFAULT_URL_TITLE = 'http://10.207.189.71:8080/visdata/rest/duty/title';
export const DEFAULT_URL_TITLE_TYPE = 'http://10.207.189.71:8080/visdata/rest/duty/titleType';
export const DEFAULT_URL_UNIT = 'http://10.207.189.71:8080/visdata/rest/duty/unit';
export const DEFAULT_URL_USERDUTY = 'http://10.207.189.71:8080/visdata/rest/duty/userduty';
export const DEFAULT_URL_DUTYNOTES = 'http://10.207.189.71:8080/visdata/rest/duty/remember';
export const DEFAULT_URL_DUTYNOTESNEW = 'http://10.207.189.71:8080/visdata/rest/duty/eventAll';
export const DEFAULT_URL_DUTYSUDDEN = 'http://10.207.189.71:8080/visdata/rest/duty/suddenEvent';

// export const DEFAULT_URL_AUTH = '/visdata/rest/auth';
// export const DEFAULT_URL_DEPARTMENT = '/visdata/rest/duty/dept';
// export const DEFAULT_URL_RANK = '/visdata/rest/duty/rank';
// export const DEFAULT_URL_SHIFT = '/visdata/rest/duty/shift';
// export const DEFAULT_URL_SHIFT_ARRANGE = '/visdata/rest/duty/shiftArrange';
// export const DEFAULT_URL_STAFF = '/visdata/rest/duty/duser'
// export const DEFAULT_URL_SYSTEM_MANAGE = '/visdata/rest/sysmanage';
// export const DEFAULT_URL_TITLE = '/visdata/rest/duty/title';
// export const DEFAULT_URL_TITLE_TYPE = '/visdata/rest/duty/titleType';
// export const DEFAULT_URL_UNIT = '/visdata/rest/duty/unit';

// export const DEFAULT_URL_AUTH = 'https://test.visdata.com.cn:8081/visdata/rest/auth';
// export const DEFAULT_URL_SYSTEM_MANAGE = 'https://test.visdata.com.cn:8081/visdata/rest/sysmanage';